
\usepackage{awesomebox}
\usepackage{tcolorbox}
% tcolorbox %
\newtcolorbox{info-box}{colback=cyan!5!white,arc=0pt,outer arc=0pt,colframe=cyan!60!black}
\newtcolorbox{warning-box}{colback=orange!5!white,arc=0pt,outer arc=0pt,colframe=orange!80!black}
\newtcolorbox{low-box}{colback=green!5!white,arc=0pt,outer arc=0pt,colframe=green!75!black}
\newtcolorbox{error-box}{colback=red!5!white,arc=0pt,outer arc=0pt,colframe=red!75!black}
\newtcolorbox{critical-box}{colback=purple!5!white,arc=0pt,outer arc=0pt,colframe=purple!75!black}


\usepackage{xcolor}
% Colors for Severity %
\definecolor{criticalcolor}{HTML}{CC0000}
\definecolor{highcolor}{HTML}{F20000}
\definecolor{mediumcolor}{HTML}{FC7F03}
\definecolor{lowcolor}{HTML}{05B04F}
\definecolor{infocolor}{HTML}{002060}
\definecolor{debugcolor}{HTML}{45A7F7}
% custom awesomebox for Severity, icons https://www.ctan.org/pkg/fontawesome5%

% high awesomebox
\newenvironment{highblock}
    {\begin{awesomeblock}[highcolor]{\aweboxrulewidth}{\faExclamationTriangle}{highcolor}}
    {\end{awesomeblock}}

% medium awesomebox
\newenvironment{mediumblock}
    {\begin{awesomeblock}[mediumcolor]{\aweboxrulewidth}{\faExclamationTriangle}{mediumcolor}}
    {\end{awesomeblock}}

% low awesomebox
\newenvironment{lowblock}
    {\begin{awesomeblock}[lowcolor]{\aweboxrulewidth}{\faExclamationTriangle}{lowcolor}}
    {\end{awesomeblock}}

% info awesomebox
\newenvironment{infoblock}
    {\begin{awesomeblock}[infocolor]{\aweboxrulewidth}{\faExclamationTriangle}{infocolor}}
    {\end{awesomeblock}}

% debug awesomebox
\newenvironment{debugblock}
    {\begin{awesomeblock}[debugcolor]{\aweboxrulewidth}{\faBug}{debugcolor}}
    {\end{awesomeblock}}

% custom awesomebox other sections, icons https://www.ctan.org/pkg/fontawesome5%

% Description awesomebox
\newenvironment{descriptionblock}
    {\begin{awesomeblock}[infocolor][\abLongLine][\textbf{Description}]{0pt}{\faFile*}{abnote}}
    {\end{awesomeblock}}

% Location awesomebox
\newenvironment{locationblock}
    {\begin{awesomeblock}[infocolor][\abLongLine][\textbf{Location}]{0pt}{\faLink}{infocolor}}
    {\end{awesomeblock}}

% Impact awesomebox
\newenvironment{impactblock}
    {\begin{awesomeblock}[abcaution][\abLongLine][\textbf{Impact}]{0pt}{\faBomb}{abcaution}}
    {\end{awesomeblock}}

% Recommendation awesomebox
\newenvironment{recommendationblock}
    {\begin{awesomeblock}[black][\abLongLine][\textbf{Recommendation}]{0pt}{\faLightbulb[regular]}{black}}
    {\end{awesomeblock}}

% References awesomebox
\newenvironment{referencesblock}
    {\begin{awesomeblock}[black][\abLongLine][\textbf{References}]{0pt}{\faRocket}{black}}
    {\end{awesomeblock}}

% Additional Notes awesomebox
\newenvironment{additional_notesblock}
    {\begin{awesomeblock}[black][\abLongLine][\textbf{Additional Notes}]{0pt}{\faCogs}{black}}
    {\end{awesomeblock}}
